Skip to contentSkip to conversation

unable to call ntohs function in kernel module

DISCUSSION bunty 1 participant 1 message Dec 3, 2004

Subsystems (2)
lore
Share & tools
lore

bunty

author
#0 lore raw

hello,
What i observed about noths with respect to Fedora core 1 kernel is that if i write a simple network C program i can call ntohl, ntohs,htonl,htons from netinet/in.h but same if i call from kernel module why it gives ntohs unresolved symbol error? Also if try to include netinet/in.h it will give me errors at compile time.

regards,
parag.